package com.dzf.mapper;

import com.dzf.entity.ItemBook;
import com.dzf.entity.OrdInfo;
import com.dzf.entity.Order;
import com.dzf.entity.OrderLine;

import java.util.List;
import java.util.Map;

public interface OrdMapper {
    List<ItemBook> findItemInfoByOrdid(int ordid);
    void addShip(Order ord);
    List<OrderLine> findOrdInfo(Map<String,Object> map);
    int findByTotal(Map<String,Object> map);
    void addAddr(Order ord);
    void addOrd(Order order);
    void addPay(Order ord);
    void addOrdItem(Map<String,Object> map);
    OrdInfo findInfoByOrdid(Map<String,Object> map);
    List<OrderLine> findOrdLines(Map<String,Object> map);
}
